package com.aaa.charge.service.impl;

import com.aaa.charge.dao.BackfeeItemDao;
import com.aaa.charge.service.BackfeeItemService;
import com.aaa.entity.OrderBackfee;
import com.aaa.entity.OrderBackfeeItem;
import com.aaa.vo.Result;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author pzs
 * @date 2023/3/24 17:01
 * @description BackfeeItemServiceImpl
 */
@Service
public class BackfeeItemServiceImpl implements BackfeeItemService {
    @Resource
    private BackfeeItemDao orderBackfeeItemDao;

    @Override
    public Result<List<OrderBackfeeItem>> allBackfeeItem(String backfeeId) {
        List<OrderBackfeeItem> orderBackfees= orderBackfeeItemDao.selectByBackfeeId(backfeeId);
        return new Result<>(orderBackfees);
    }
}
